var data = {
	log_id: 0x4e9d86719223a000,
	words_result: [{
			words: "黄色碳粉盒"
		},
		{
			words: "订购993A,993X,993AC"
		},
		{
			words: "已安装:"
		},
		{
			words: "993982CONTRACTSETUP(T6H50A)"
		},
		{
			words: "状态:"
		},
		{
			words: "确定"
		},
		{
			words: "大约剩余页数"
		},
		{
			words: "6000"
		},
		{
			words: "序列号:"
		},
		{
			words: "615133922"
		},
		{
			words: "首次安装日期:"
		},
		{
			words: "20190709"
		},
		{
			words: "上次使用日期:"
		},
		{
			words: "20190711"
		},
		{
			words: "制造日期:"
		},
		{
			words: "20190312"
		},
		{
			words: "保修结束日期"
		},
		{
			words: "20220312"
		},
		{
			words: "国家/地区"
		},
		{
			words: "10"
		},
		{
			words: "品红色碳粉盒"
		},
		{
			words: "订购993A,993X,993AC"
		},
		{
			words: "已安装:"
		},
		{
			words: "993982CONTRACTSETUP(T6M46A)"
		},
		{
			words: "状态:"
		},
		{
			words: "确定"
		},
		{
			words: "大约剩余页数"
		},
		{
			words: "6000"
		},
		{
			words: "序列号"
		},
		{
			words: "614889577"
		},
		{
			words: "20190709"
		},
		{
			words: "上次使用日期:"
		},
		{
			words: "20190711"
		},
		{
			words: "制造日期:"
		},
		{
			words: "20190312"
		},
		{
			words: "保修结束日期"
		},
		{
			words: "20220312"
		},
		{
			words: "国家/地区"
		},
		{
			words: "10"
		},
		{
			words: "青色碳粉盒"
		},
		{
			words: "订购993A,993X,993AC"
		},
		{
			words: "已安装:"
		},
		{
			words: "993982CONTRACTSETUP(N9H39A)"
		},
		{
			words: "状态:"
		},
		{
			words: "确定"
		},
		{
			words: "大约剩余页数:十"
		},
		{
			words: "6000"
		},
		{
			words: "序列号:"
		},
		{
			words: "614545891"
		},
		{
			words: "首次安装日期:"
		},
		{
			words: "20190709"
		},
		{
			words: "上次使用日期:"
		},
		{
			words: "20190711"
		},
		{
			words: "制造日期:"
		},
		{
			words: "20190312"
		},
		{
			words: "保修结束日期"
		},
		{
			words: "20220312"
		},
		{
			words: "国家/地区"
		},
		{
			words: "10"
		},
		{
			words: "黑色碳粉盒"
		},
		{
			words: "订购993A,993X,993AC"
		},
		{
			words: "已安装:"
		},
		{
			words: "CONTRACTSETUPAC(X4D07A)"
		},
		{
			words: "状态:"
		},
		{
			words: "大约剩余页数:"
		},
		{
			words: "确定"
		},
		{
			words: "8000"
		},
		{
			words: "序列号"
		},
		{
			words: "615193238"
		},
		{
			words: "首次安装日期:"
		},
		{
			words: "20190709"
		},
		{
			words: "上次使用日期"
		},
		{
			words: "20190711"
		},
		{
			words: "20190312"
		},
		{
			words: "制造日期:"
		},
		{
			words: "20220312"
		},
		{
			words: "保修结束日期"
		},
		{
			words: "国家/地区"
		},
		{
			words: "1"
		}
	],
	words_result_num: 79
};
data = {
	"log_id": 1498489474879217000,
	"words_result_num": 17,
	"words_result": [{
		"words": "设备信息"
	}, {
		"words": "产品名称：HPLaserJetM605"
	}, {
		"words": "设备名称：HPLaserJetM605"
	}, {
		"words": "型号：E6B69A"
	}, {
		"words": "直流控制器版本：1.117"
	}, {
		"words": "产品序列号：CNDKL6T3VN"
	}, {
		"words": "格式化板号码：2C540RC"
	}, {
		"words": "固件捆绑包版本：3.9.4"
	}, {
		"words": "固件版本：2309010581410"
	}, {
		"words": "固件日期代码：20190118"
	}, {
		"words": "HPFutureSmart等级：HPFutureSmart3"
	}, {
		"words": "NFC版本：未安装"
	}, {
		"words": "服务ID:28240"
	}, {
		"words": "上次维护后的页数：20300"
	}, {
		"words": "PS等待超时：300秒"
	}, {
		"words": "引1擎周期*：61571"
	}, {
		"words": "不适用于计费"
	}]
};
var data2 = {
		log_id: 0x32aa1554d6d08e00,
		words_result: [{
				words: "等效印数(Letter/A4)"
			},
			{
				words: "彩色"
			},
			{
				words: "黑白强化一般办公其它色彩总数总数"
			},
			{
				words: "打印"
			},
			{
				words: "0.0"
			},
			{
				words: "0.0"
			},
			{
				words: "0.00.0"
			},
			{
				words: "0.07.0"
			},
			{
				words: "复印"
			},
			{
				words: "0.0"
			},
			{
				words: "0.0"
			},
			{
				words: "0.00.0"
			},
			{
				words: "0.00.0"
			},
			{
				words: "传真"
			},
			{
				words: "0.0"
			},
			{
				words: "*"
			},
			{
				words: "0.0"
			},
			{
				words: "0.00.0"
			},
			{
				words: "0.00.0"
			}
		],
		words_result_num: 19
	},
	dataM605 = {
		log_id: 0x32aa1554d6d08e00,
		words_result: [{
				words: "等效印数(Letter/A4)"
			},
			{
				words: "总数"
			},
			{
				words: "打印"
			},
			{
				words: "9.0"
			}
		],
		words_result_num: 19
	},
	data77769 = {
		log_id: 0x47c1d9da41c1c800,
		words_result: [{
				words: "A4等效印刷"
			},
			{
				words: "单色"
			},
			{
				words: "强调色"
			},
			{
				words: "通办公彩色其他"
			},
			{
				words: "色"
			},
			{
				words: "总页数"
			},
			{
				words: "打印"
			},
			{
				words: "187.0"
			},
			{
				words: "55.0"
			},
			{
				words: "0.0"
			},
			{
				words: "339.0"
			},
			{
				words: "394.0"
			},
			{
				words: "581.0"
			},
			{
				words: "复印"
			},
			{
				words: "5.0"
			},
			{
				words: "0.0"
			},
			{
				words: "0."
			},
			{
				words: "36.0"
			},
			{
				words: "36.0"
			},
			{
				words: "41.0"
			},
			{
				words: "传真"
			},
			{
				words: "0.0"
			},
			{
				words: "0.0"
			},
			{
				words: "0.0"
			},
			{
				words: "0.0"
			},
			{
				words: "0.0"
			},
			{
				words: "0.0"
			}
		],
		words_result_num: 27
	},
	data3015 = {
		words_result: [{
				words: "等效印数(A4\\/Letter)"
			},
			{
				words: "黑白"
			},
			{
				words: "总数"
			},
			{
				words: "打印"
			},
			{
				words: "210,719.3"
			},
			{
				words: "210,719.3"
			},
			{
				words: "总计"
			},
			{
				words: "210,719.3"
			},
			{
				words: "210,719.3"
			}
		],
		log_id: 0x3e553515eb305400,
		words_result_num: 9
	};
data3015 = {
	words_result: [{
			words: "等效印数(A4/Letter)"
		},
		{
			words: "黑白"
		},
		{
			words: "总数"
		},
		{
			words: "打印"
		},
		{
			words: "210,719.3"
		},
		{
			words: "210,719.3"
		},
		{
			words: "总计"
		},
		{
			words: "210,719.3"
		},
		{
			words: "210,719.3"
		}
	],
	log_id: 0x42eb553902a9c400,
	words_result_num: 9
};
var data600 = {
		words_result: [{
				words: "等效印数(Letter/A4)"
			},
			{
				words: "总数"
			},
			{
				words: "打印"
			},
			{
				words: "1.156,355.3"
			}
		],
		words_result_num: 4,
		log_id: 0x5d38b6d1331c5800
	},
	data806 = {
		words_result: [{
				words: "EquivalentImpressions(Letter/A4)"
			},
			{
				words: "Total"
			},
			{
				words: "Print"
			},
			{
				words: "24.820.1"
			}
		],
		words_result_num: 4,
		log_id: 0x1b689a6de98a8d00
	},
	data401 = {
		words_result_num: 14,
		words_result: [{
				words: "印数"
			},
			{
				words: "打印引擎"
			},
			{
				words: "总印数"
			},
			{
				words: "=19225"
			},
			{
				words: "总等效印数(A4/Letter)"
			},
			{
				words: "=19225.0"
			},
			{
				words: "双面打印页数"
			},
			{
				words: "经济模式印数"
			},
			{
				words: "="
			},
			{
				words: "00"
			},
			{
				words: "卡纸次数"
			},
			{
				words: "=13"
			},
			{
				words: "取纸错误次数"
			},
			{
				words: "=61"
			}
		],
		log_id: 0x4a544fe297770c00
	},
	data4015 = {
		log_id: 0x5355aae268664c00,
		words_result: [{
				words: "TOTALPRINTERUSAGE"
			},
			{
				words: "423.282.0"
			},
			{
				words: "FuserModesPaperPathUsage(actual"
			}
		],
		words_result_num: 3
	},
	data452 = {
		words_result_num: 22,
		log_id: 0x4cffbf5ac836ac00,
		words_result: [{
				words: "HPColorLaserJetM452dn"
			},
			{
				words: "用量信息页"
			},
			{
				words: "SB28"
			},
			{
				words: "印数"
			},
			{
				words: "打印引擎"
			},
			{
				words: "总印数"
			},
			{
				words: "=2662"
			},
			{
				words: "单色印数"
			},
			{
				words: "=940"
			},
			{
				words: "彩色印数"
			},
			{
				words: "=1722"
			},
			{
				words: "总等效印数(A4/Letter)"
			},
			{
				words: "=2662.0"
			},
			{
				words: "单色等效印数(A4/Letter)"
			},
			{
				words: "=940.0"
			},
			{
				words: "彩色等效印数(A4/Letter)"
			},
			{
				words: "=1722.0"
			},
			{
				words: "双面打印页数"
			},
			{
				words: "卡纸次数"
			},
			{
				words: "=三"
			},
			{
				words: "001"
			},
			{
				words: "取纸错误次数"
			}
		]
	};
data880 = {
	log_id: 0x1de7f80b748e2000,
	words_result: [{
			words: "BlackCartridge"
		},
		{
			words: "90"
		},
		{
			words: "Order827A(CF300A)"
		},
		{
			words: "Status"
		},
		{
			words: "OK"
		},
		{
			words: "ApproximatePagesRemaining:t"
		},
		{
			words: ">23600"
		},
		{
			words: "SerialNumber:"
		},
		{
			words: "83968832"
		},
		{
			words: "Pagesprintedwiththissupply:*"
		},
		{
			words: "4736"
		},
		{
			words: "FirstInstallDate:"
		},
		{
			words: "20190613"
		},
		{
			words: "LastUseDate:"
		},
		{
			words: "20190626"
		},
		{
			words: "CyanCartridge"
		},
		{
			words: "50"
		},
		{
			words: "Order827A(CF301A)"
		},
		{
			words: "Status:"
		},
		{
			words: "OK"
		},
		{
			words: "ApproximatePagesRemaining:"
		},
		{
			words: "10850"
		},
		{
			words: "SerialNumber:"
		},
		{
			words: "84025957"
		},
		{
			words: "Pagesprintedwiththissupply:"
		},
		{
			words: "12794"
		},
		{
			words: "FirstInstallDate:"
		},
		{
			words: "20181225"
		},
		{
			words: "LastUseDate:"
		},
		{
			words: "20190626"
		},
		{
			words: "MagentaCartridge"
		},
		{
			words: "<10"
		},
		{
			words: "Order827A(CF303A)"
		},
		{
			words: "Status:"
		},
		{
			words: "ApproximatePagesRemaining:*"
		},
		{
			words: "1250"
		},
		{
			words: "SerialNumber:"
		},
		{
			words: "83968243"
		},
		{
			words: "Pagesprintedwiththissupply:*"
		},
		{
			words: "24056"
		},
		{
			words: "20180630"
		},
		{
			words: "FirstInstallDate:"
		},
		{
			words: "20190626"
		},
		{
			words: "LastUseDate:"
		},
		{
			words: "YellowCartridge"
		},
		{
			words: "50"
		},
		{
			words: "Order827A(CF302A)"
		},
		{
			words: "OK"
		},
		{
			words: "Status:"
		},
		{
			words: "ApproximatePagesRemaining:*"
		},
		{
			words: "17300"
		},
		{
			words: "84026398"
		},
		{
			words: "SerialNumber:"
		},
		{
			words: "Pagesprintedwiththissupply:"
		},
		{
			words: "★"
		},
		{
			words: "16008"
		},
		{
			words: "FirstInstallDate:"
		},
		{
			words: "20181030"
		},
		{
			words: "LastUseDate:"
		},
		{
			words: "20190626"
		}
	],
	words_result_num: 60
};
var data65050 = {
		log_id: 0x376aae35bfa14c00,
		words_result: [{
				words: "等效印数(Letter/A4)"
			},
			{
				words: "黑白"
			},
			{
				words: "彩色"
			},
			{
				words: "总数"
			},
			{
				words: "打印"
			},
			{
				words: "252.0"
			},
			{
				words: "9.219.0"
			},
			{
				words: "9,471.0"
			}
		],
		words_result_num: 8
	},
	data5225 = {
		words_result: [{
				words: "HPColorLaserJetCP5225dn"
			},
			{
				words: "使用页面"
			},
			{
				words: "印数"
			},
			{
				words: "个性"
			},
			{
				words: "PCL6印数"
			},
			{
				words: "=2031"
			},
			{
				words: "PS印数"
			},
			{
				words: "=2"
			},
			{
				words: "PCL印数"
			},
			{
				words: "=142"
			},
			{
				words: "打印引擎"
			},
			{
				words: "总印数"
			},
			{
				words: "=5856"
			},
			{
				words: "单色印数"
			},
			{
				words: "=2945"
			},
			{
				words: "彩色印数"
			},
			{
				words: "=2911"
			},
			{
				words: "双面打印页数"
			},
			{
				words: "=131"
			},
			{
				words: "卡纸次数"
			},
			{
				words: "取纸错误次数"
			},
			{
				words: "32"
			}
		],
		log_id: 0x54625931c048a400,
		words_result_num: 22
	},
	data87660 = {
		log_id: 0x541144c876b29400,
		words_result_num: 16,
		words_result: [{
				words: "等效印数(Letter/A4)"
			},
			{
				words: "黑白"
			},
			{
				words: "彩色"
			},
			{
				words: "总数"
			},
			{
				words: "打印"
			},
			{
				words: "32.0"
			},
			{
				words: "6.0"
			},
			{
				words: "38.0"
			},
			{
				words: "复印"
			},
			{
				words: "8.0"
			},
			{
				words: "2.0"
			},
			{
				words: "10.0"
			},
			{
				words: "传真"
			},
			{
				words: "0.0"
			},
			{
				words: "0.0"
			},
			{
				words: "0.0"
			}
		]
	};
data87660 = {
	log_id: 0x273110ca7b23600,
	words_result_num: 16,
	words_result: [{
			words: "等效印数(Letter/A4)"
		},
		{
			words: "黑"
		},
		{
			words: "彩色"
		},
		{
			words: "总数"
		},
		{
			words: "打印"
		},
		{
			words: "32.0"
		},
		{
			words: "6.0"
		},
		{
			words: "38.0"
		},
		{
			words: "复印"
		},
		{
			words: "8.0"
		},
		{
			words: "2.0"
		},
		{
			words: "10.0"
		},
		{
			words: "传真"
		},
		{
			words: "0.0"
		},
		{
			words: "0.0"
		},
		{
			words: "0.0"
		}
	]
};
data880 = {
	log_id: 0x8861846b063c680,
	words_result_num: 60,
	words_result: [{
			words: " Black Cartridge"
		},
		{
			words: "90%*"
		},
		{
			words: " Order 827A(CF300A)"
		},
		{
			words: " Status:"
		},
		{
			words: " OK"
		},
		{
			words: " Approximate Pages Remaining: t"
		},
		{
			words: ">23600"
		},
		{
			words: " Serial Number:"
		},
		{
			words: "83968832"
		},
		{
			words: " Pages printed with this supply:"
		},
		{
			words: "4736"
		},
		{
			words: " First Install Date:"
		},
		{
			words: "20190613"
		},
		{
			words: " Last Use Date:"
		},
		{
			words: "20190626"
		},
		{
			words: " Cyan Cartridge"
		},
		{
			words: "50%"
		},
		{
			words: " Order 827A(CF301A)"
		},
		{
			words: " Status:"
		},
		{
			words: " OK"
		},
		{
			words: " Approximate Pages Remaining:"
		},
		{
			words: "10850"
		},
		{
			words: " Serial Number:"
		},
		{
			words: "84025957"
		},
		{
			words: " Pages printed with this supply:"
		},
		{
			words: "12794"
		},
		{
			words: " First Install Date:"
		},
		{
			words: "20181225"
		},
		{
			words: " Last Use Date:"
		},
		{
			words: "20190626"
		},
		{
			words: " Magenta Cartridge"
		},
		{
			words: "<10%"
		},
		{
			words: " Order 827A(CF303A)"
		},
		{
			words: " Status:"
		},
		{
			words: " OK"
		},
		{
			words: " Approximate Pages Remaining:"
		},
		{
			words: "1250"
		},
		{
			words: " Serial Number:"
		},
		{
			words: "83968243"
		},
		{
			words: " Pages printed with this supply*"
		},
		{
			words: "24056"
		},
		{
			words: " First Install Date:"
		},
		{
			words: "20180630"
		},
		{
			words: " Last Use Date::"
		},
		{
			words: "20190626"
		},
		{
			words: " Yellow Cartridge"
		},
		{
			words: "50%"
		},
		{
			words: " Order 827A(CF302A)"
		},
		{
			words: " Status"
		},
		{
			words: " OK"
		},
		{
			words: " Approximate Pages Remaining:"
		},
		{
			words: "17300"
		},
		{
			words: " Serial Number:"
		},
		{
			words: "84026398"
		},
		{
			words: " Pages printed with this supply:"
		},
		{
			words: "16008"
		},
		{
			words: " First Install Date:"
		},
		{
			words: "20181030"
		},
		{
			words: "20190626"
		},
		{
			words: " Last Use Date:"
		}
	]
};
var dataM427fdn = {
	log_id: 4171709491962304e3,
	words_result_num: 12,
	words_result: [{
			words: "打印引擎"
		},
		{
			words: "总印数"
		},
		{
			words: "=5856"
		},
		{
			words: "单色印数"
		},
		{
			words: "彩色印数"
		},
		{
			words: "2945"
		},
		{
			words: "双面打印页数"
		},
		{
			words: "2911"
		},
		{
			words: "卡纸次数"
		},
		{
			words: "=131"
		},
		{
			words: "取纸错误次数"
		},
		{
			words: "32"
		}
	]
};
dataM427fdn = {
	log_id: 0x200d84a548386600,
	words_result_num: 12,
	words_result: [{
			words: "打印引擎"
		},
		{
			words: "总印数"
		},
		{
			words: "=5856"
		},
		{
			words: "单色印数"
		},
		{
			words: "=2945"
		},
		{
			words: "彩色印数"
		},
		{
			words: "=2911"
		},
		{
			words: "双面打印页数"
		},
		{
			words: "=131"
		},
		{
			words: "卡纸次数"
		},
		{
			words: "取纸错误次数"
		},
		{
			words: "32"
		}
	]
};
var data99740 = {
		log_id: 0x141759ee7f1f2d00,
		words_result_num: 12,
		words_result: [{
				words: "等效印数"
			},
			{
				words: "彩色"
			},
			{
				words: "黑白强化一般办公其他色彩总数总数"
			},
			{
				words: "打印1.02.03.0"
			},
			{
				words: "4.05.0"
			},
			{
				words: "6.0"
			},
			{
				words: "复印11.012.013.0"
			},
			{
				words: "14.015.0"
			},
			{
				words: "16.0"
			},
			{
				words: "传真12.012.112.2"
			},
			{
				words: "12.312.4"
			},
			{
				words: "12.5"
			}
		]
	},
	data99740PV = {
		log_id: 0x4f449960db498800,
		words_result_num: 19,
		words_result: [{
				words: "等效印数(Letter/A4)"
			},
			{
				words: "彩色"
			},
			{
				words: "黑白强化一般办公"
			},
			{
				words: "其它色彩总数"
			},
			{
				words: "总数"
			},
			{
				words: "打印5.808.4650.0"
			},
			{
				words: "0.02,177.62,827.68,636.0"
			},
			{
				words: "复印"
			},
			{
				words: "67.00.0"
			},
			{
				words: "0.0"
			},
			{
				words: "38.0"
			},
			{
				words: "38.0"
			},
			{
				words: "105.0"
			},
			{
				words: "传真"
			},
			{
				words: "0.00.0"
			},
			{
				words: "0.0"
			},
			{
				words: "0.0"
			},
			{
				words: "0.0"
			},
			{
				words: "0.0"
			}
		]
	},
	data452PV = {
		log_id: 0x246e4d876c37f200,
		words_result: [{
				words: "打印引擎"
			},
			{
				words: "总印数"
			},
			{
				words: "=2662"
			},
			{
				words: "单色印数"
			},
			{
				words: "940"
			},
			{
				words: "彩色印数"
			},
			{
				words: "=1722"
			},
			{
				words: "总等效印数(A4/Letter"
			},
			{
				words: "2662.0"
			},
			{
				words: "单色等效印数(A/Letter)"
			},
			{
				words: "940.0"
			},
			{
				words: "彩色等效印数(A4/Letter)"
			},
			{
				words: "1722.0"
			},
			{
				words: "双面打印页数"
			},
			{
				words: "0"
			},
			{
				words: "卡纸次数"
			},
			{
				words: "0"
			},
			{
				words: "取纸错误次数"
			}
		],
		words_result_num: 18
	};
data452PV = {
	words_result_num: 17,
	words_result: [{
			words: "打印引擎"
		},
		{
			words: "总印数"
		},
		{
			words: "=2662"
		},
		{
			words: "单色印数"
		},
		{
			words: "940"
		},
		{
			words: "彩色印数"
		},
		{
			words: "=1722"
		},
		{
			words: "总等效印数(A4/Letter"
		},
		{
			words: "2662.0"
		},
		{
			words: "单色等效印数(A4/Letter)"
		},
		{
			words: "940.0"
		},
		{
			words: "彩色等效印数(A4/Letter"
		},
		{
			words: "1722"
		},
		{
			words: "双面打印页数"
		},
		{
			words: "卡纸次数"
		},
		{
			words: "001"
		},
		{
			words: "取纸错误次数"
		}
	],
	log_id: 0x128cfe16b994cc00
};
data452PV2 = {
	log_id: 0x23fe01ff90ba5c00,
	words_result: [{
			words: "打印引擎"
		},
		{
			words: "总印数"
		},
		{
			words: "2662"
		},
		{
			words: "单色印数"
		},
		{
			words: "940"
		},
		{
			words: "彩色印数"
		},
		{
			words: "1722"
		},
		{
			words: "总等效印数(A4/Lotter)"
		},
		{
			words: "2662.0"
		},
		{
			words: "单色等效印数(A/Letter)"
		},
		{
			words: "940.0"
		},
		{
			words: "彩色等效印数(A4/Letter)"
		},
		{
			words: "1722.0"
		},
		{
			words: "双面打印页数"
		},
		{
			words: "0"
		},
		{
			words: "卡纸次数"
		},
		{
			words: "取纸错误次数"
		}
	],
	words_result_num: 17
};
data452PV3 = {
	log_id: 0x5cf20cd07ec53400,
	words_result_num: 8,
	words_result: [{
			words: "等效印数(Letter/A4)"
		},
		{
			words: "黑白"
		},
		{
			words: "彩色"
		},
		{
			words: "总数"
		},
		{
			words: "打印"
		},
		{
			words: "77.541.4"
		},
		{
			words: "66.732.0"
		},
		{
			words: "144,273.4"
		}
	]
};
data276PV = {
	words_result_num: 8,
	words_result: [{
			words: "A4等效印刷"
		},
		{
			words: "黑白"
		},
		{
			words: "彩色"
		},
		{
			words: "总页数"
		},
		{
			words: "打印/复印/传真"
		},
		{
			words: "5306.5"
		},
		{
			words: "28437.5"
		},
		{
			words: "33744.0"
		}
	],
	log_id: 0x44ac38dd72ca1400
};
dataX551PV = {
	words_result: [{
			words: "A4等效印刷"
		},
		{
			words: "黑白"
		},
		{
			words: "彩色"
		},
		{
			words: "总页数:"
		},
		{
			words: "打印"
		},
		{
			words: "53275.1"
		},
		{
			words: "336.0"
		},
		{
			words: "53611.1"
		}
	],
	words_result_num: 8,
	log_id: 0xa5e917ecada2300
};
dataP55250PV = {
	words_result: [{
			words: "A4等效印刷"
		},
		{
			words: "单色"
		},
		{
			words: "强调色"
		},
		{
			words: "普通办公彩色"
		},
		{
			words: "其他"
		},
		{
			words: "总色"
		},
		{
			words: "总页数"
		},
		{
			words: "打印"
		},
		{
			words: "2897.0"
		},
		{
			words: "2658.0"
		},
		{
			words: "0.0"
		},
		{
			words: "12871.0"
		},
		{
			words: "15529.0"
		},
		{
			words: "18426.0"
		}
	],
	log_id: 0x2bb5984891a19000,
	words_result_num: 14
};
dataM880PV = {
	words_result: [{
			words: "等效印数(Letter/A4)"
		},
		{
			words: "黑白"
		},
		{
			words: "彩色"
		},
		{
			words: "总数"
		},
		{
			words: "打印"
		},
		{
			words: "6.630.5"
		},
		{
			words: "8.646.1"
		},
		{
			words: "15.276.6"
		},
		{
			words: "复印"
		},
		{
			words: "9.150.0"
		},
		{
			words: "3,601.5"
		},
		{
			words: "12.751.5"
		},
		{
			words: "传真"
		},
		{
			words: "0.0"
		},
		{
			words: "0.0"
		},
		{
			words: "0.0"
		}
	],
	words_result_num: 16,
	log_id: 0x11e42d4d0b52ec00
};
dataM880PV2 = {
	words_result_num: 16,
	words_result: [{
			words: "等效印数(Letter/A4)"
		},
		{
			words: "黑白"
		},
		{
			words: "彩色"
		},
		{
			words: "总数"
		},
		{
			words: "打印"
		},
		{
			words: "6,630.5"
		},
		{
			words: "8,646.1"
		},
		{
			words: "15.276.6"
		},
		{
			words: "复印"
		},
		{
			words: "9.150.0"
		},
		{
			words: "3,601.5"
		},
		{
			words: "12,751.5"
		},
		{
			words: "传真"
		},
		{
			words: "0.0"
		},
		{
			words: "0.0"
		},
		{
			words: "0.0"
		}
	],
	log_id: 0x5e96d6344698fc00
};
var dataP57750 = {
	words_result: [{
			words: "墨盒系统信息"
		},
		{
			words: "37.盒"
		},
		{
			words: "黄色"
		},
		{
			words: "洋红色"
		},
		{
			words: "青色"
		},
		{
			words: "黑色"
		},
		{
			words: "38.估计墨水量"
		},
		{
			words: "39.墨编号:"
		},
		{
			words: "HP976YC"
		},
		{
			words: "HP976YC"
		},
		{
			words: "HP976YC"
		},
		{
			words: "HP976YC"
		},
		{
			words: "40.保修终止日期(年月日)"
		},
		{
			words: "2021/01/01"
		},
		{
			words: "2021/0723"
		},
		{
			words: "2021/05/28"
		},
		{
			words: "2021/08/06"
		},
		{
			words: "41.首次安装日期(年月日)"
		},
		{
			words: "2018/11/19"
		},
		{
			words: "2019/04/02"
		},
		{
			words: "2019/01/22"
		},
		{
			words: "2019/0226"
		},
		{
			words: "42.墨盒区域:"
		},
		{
			words: "43.使用:"
		},
		{
			words: "44.m"
		},
		{
			words: "1031"
		},
		{
			words: "45.p:"
		},
		{
			words: "1031"
		},
		{
			words: "10318"
		},
		{
			words: "46.估计的剩余页数"
		},
		{
			words: "差"
		},
		{
			words: "12800"
		},
		{
			words: "9400"
		},
		{
			words: "8400"
		},
		{
			words: "47.受支持的盒"
		},
		{
			words: "HP975A"
		},
		{
			words: "HP975A"
		},
		{
			words: "HP976A"
		},
		{
			words: "HP975A"
		},
		{
			words: "HP975X"
		},
		{
			words: "HP975X"
		},
		{
			words: "HP975X"
		},
		{
			words: "HP975X"
		},
		{
			words: "HP976Y"
		},
		{
			words: "HP976Y"
		},
		{
			words: "HP976Y"
		},
		{
			words: "HP976Y"
		},
		{
			words: "HP976YC"
		},
		{
			words: "HP976YC"
		},
		{
			words: "HP976YC"
		},
		{
			words: "HP976YC"
		},
		{
			words: "HPXC"
		},
		{
			words: "HPXC"
		},
		{
			words: "HPxc"
		},
		{
			words: "HPXC"
		},
		{
			words: "墨盒的可用性受地区限制。"
		}
	],
	words_result_num: 56,
	log_id: 0x53aa8348045c0c00
};
dataP57750 = {
	words_result: [{
			words: "墨盒系统信息"
		},
		{
			words: "37."
		},
		{
			words: "黄色"
		},
		{
			words: "洋红色"
		},
		{
			words: "青色"
		},
		{
			words: "黑色"
		},
		{
			words: "38.估计墨水量"
		},
		{
			words: "]["
		},
		{
			words: "["
		},
		{
			words: "["
		},
		{
			words: "39.墨编号:"
		},
		{
			words: "HP976YC"
		},
		{
			words: "HP976YC"
		},
		{
			words: "HP976YC"
		},
		{
			words: "HP976YC"
		},
		{
			words: "40.保修终止日期(年月日"
		},
		{
			words: "2021/01/01"
		},
		{
			words: "2021/0723"
		},
		{
			words: "2021/05/28"
		},
		{
			words: "2021/08/06"
		},
		{
			words: "41.首次安装日期(年月日)"
		},
		{
			words: "2018/11/19"
		},
		{
			words: "2019/04/02"
		},
		{
			words: "2019/0122"
		},
		{
			words: "2019/0226"
		},
		{
			words: "42.墨盒区域"
		},
		{
			words: "1"
		},
		{
			words: "43.使用:"
		},
		{
			words: "44.cM"
		},
		{
			words: "031"
		},
		{
			words: "1031"
		},
		{
			words: "1031"
		},
		{
			words: "45.p:"
		},
		{
			words: "46.估计的剩余页数"
		},
		{
			words: "差"
		},
		{
			words: "12800"
		},
		{
			words: "9400"
		},
		{
			words: "8400"
		},
		{
			words: "47.受支持的墨盒"
		},
		{
			words: "HP975A"
		},
		{
			words: "HP975A"
		},
		{
			words: "HP975A"
		},
		{
			words: "HP975A"
		},
		{
			words: "HP975X"
		},
		{
			words: "HP975X"
		},
		{
			words: "HP975X"
		},
		{
			words: "HP975X"
		},
		{
			words: "HP976Y"
		},
		{
			words: "HP976Y"
		},
		{
			words: "HP076Y"
		},
		{
			words: "HP976Y"
		},
		{
			words: "HP976Y0"
		},
		{
			words: "HP976YC"
		},
		{
			words: "HP976YC"
		},
		{
			words: "HP976YC"
		},
		{
			words: "HPXC"
		},
		{
			words: "HPXC"
		},
		{
			words: "HPXC"
		},
		{
			words: "HPXC"
		},
		{
			words: "盒的可用性受地区限制。"
		}
	],
	words_result_num: 60,
	log_id: 0x57b9a63d6925bc00
};
var dataM429 = {
	words_result: [{
			words: "A4等效印刷"
		},
		{
			words: "总页数:"
		},
		{
			words: "打印/复印/传真"
		},
		{
			words: "500"
		}
	],
	log_id: 0x13adff8b57dad400,
	words_result_num: 4
};
dataM429 = {
	words_result: [{
			words: "A4等效印刷"
		},
		{
			words: "总页数:"
		},
		{
			words: "打印/复印/传真"
		},
		{
			words: "500"
		}
	],
	log_id: 0x13ae1bf0de592300,
	words_result_num: 4
};
var blackAndWhite = "黑白",
	colorful = "彩色",
	intensify = "强化",
	generalOffice = "一般办公",
	other = "其它",
	colorTotal = "色彩总数",
	total = "总数",
	singleColor = "单色",
	strongColor = "强调色",
	nomalgeneralOffice = "普通办公彩色",
	another = "其他",
	totalColor = "总色",
	totalPage = "总页数",
	pvblackAndWhite = blackAndWhite,
	pvtitle = "等效印数",
	pvtitle2 = "等效印刷",
	pvtitle3 = "印数",
	pvtitle4 = "总等效印数",
	pvtitleSingle = "单色印数",
	pvtitleColorful = "彩色印数",
	pvtotalPage = "总页数",
	pvtotalPage2 = "总印数",
	printtitle = "打印",
	copytitle = "复印",
	faxtitle = "传真",
	totaltitle = "总数",
	keyWord = "印",
	keyWord2 = "碳粉",
	keyWord3 = "名称",
	sdmProductName = "产品名称",
	sdmModel = "m型号",
	sdmnickName = "昵称",
	sdmFirmwareSequence = "固件版本号",
	sdmProductSequence = "序列号",
	sdmHPJetdirect = "嵌",
	sdmLDAP = "LDAP",
	lastUsageDate = "上次使用日期",
	firstInstallDate = "首次安装日期",
	yellowMH = "黄色碳粉盒",
	redMH = "品红色碳粉盒",
	cyanMH = "青色碳粉盒",
	blackMH = "黑色碳粉盒",
	yellowMHLabel = "黄色碳粉盒",
	redMHLabel = "品红色碳粉盒",
	cyanMHLabel = "青色碳粉盒",
	blackMHLabel = "黑色碳粉盒",

	supportModels =
	"M552 E87640 E87640 M452 M712 M506 M605 M725 M425 E50045 E60055 M506 M605 E62555 E62665 E72530 E72535 E82540 M725 E72530 E72535 E82540 P55250 P77940 E77660 E62655 P77740 P77940 E57750 E77660 452 552 HM1720"
	.split(
		" "
	);
supportModels =
	"M552 E72535 E50045 E60055 M712 M506 E62555 E87640 E82540 P55250 E77660 E62655 E62665 E72530 P77940 HM1720 M725 M425 M605 E57750 452 P77940"
	.split(
		" "
	);
supportModels = [
	"552",
	"72535",
	"50045",
	"60055",
	"712",
	"506",
	"62555",
	"87640",
	"82540",
	"55250",
	"77660",
	"E62655",
	"E62665",
	"72530",
	"77940",
	"1720",
	"725",
	"425",
	"605",
	"P57750",
	"452",
	"77940", ,
	"50045",
	"60055",
	"601",
	"M712",
	"P57750"
];
var supportPVModels =
	"400 600 602 60055 3015 77769 806 401 5200 4015 452dw 452dn 452nw 65050 276 5225 477 452 M551 M552 M553 750dn 750n 750xh 855 570 55250 M525 527 72535 506 87640 77830 87650 87660 M880 577 575 775dn 775f 775z 77940 77660 72530 725 P57750 77825 603 60065 62565 82550 630 M830 M830z 403 4555 606 52545 427 436 3010 706 585 8730 476 X576 586dn 556 58650 P75050 77740 4540 604 608 609 551dw 551dn X551 553 82560 M552 M553 E72525 M82560 M527 M575 M577 M680 E77822 E77440 E77940 E77950 X585 586f 586z P77740 P77750 P77760 E62655 E62665 50045 60055 601 M712 E57540 M630 M429 E50145 E60155dn M528 E78323 E55650 E40040dn 55040dn 87740 E42540f E72535 E75245 E78330 E55040 E87740"
	.split(
		" "
	),
	typeModel = 6;

var currentDataArr = [];

function getOCRValue(b, a, c) {
	currentDataArr = [];
	currentDataArr.push(a);
	currentDataArr.push(c);
	var e = "",
		d = b.words_result,
		h = !1,
		m = 0;
	var cc = c;
	updateLabel(d);
	if (supportSDM(a) || supportPV(a)) {
		b = [blackAndWhite, intensify, generalOffice, other, colorTotal, total];
		if (
			-1 != a.indexOf("400") ||
			-1 != a.indexOf("600") ||
			-1 != a.indexOf("605") ||
			-1 != a.indexOf("602") ||
			-1 != a.indexOf("60055") ||
			-1 != a.indexOf("604") ||
			-1 != a.indexOf("806") ||
			-1 != a.indexOf("M525") ||
			-1 != a.indexOf("72535") ||
			-1 != a.indexOf("M506") ||
			-1 != a.indexOf("E40040dn")||
			-1 != a.indexOf("72530") ||
			-1 != a.indexOf("M725") ||
			-1 != a.indexOf("603") ||
			-1 != a.indexOf("60065") ||
			-1 != a.indexOf("62565") ||
			-1 != a.indexOf("82550") ||
			-1 != a.indexOf("630") ||
			-1 != a.indexOf("M830") ||
			-1 != a.indexOf("4555") ||
			-1 != a.indexOf("606") ||
			-1 != a.indexOf("52545") ||
			-1 != a.indexOf("E72525") ||
			-1 != a.indexOf("608") ||
			-1 != a.indexOf("609") ||
			-1 != a.indexOf("527") ||
			-1 != a.indexOf("82560") ||
			-1 != a.indexOf("E72530") ||
			-1 != a.indexOf("E72535") ||
			-1 != a.indexOf("M82560") ||
			-1 != a.indexOf("M527") ||
			-1 != a.indexOf("601") ||
			-1 != a.indexOf("cz") ||
			-1 != a.indexOf("M712") ||
			-1 != a.indexOf("M630") ||
			-1 != a.indexOf("M429") ||
			-1 != a.indexOf("E50145") ||
			-1 != a.indexOf("E60155dn")||
			-1 != a.indexOf("M528")||
			-1 != a.indexOf("E42540f")||
			-1 != a.indexOf("E62665")
		)
			(b = [total]), -1 != a.indexOf("M429") && (b = [totalPage]); -1 != a.indexOf("3010") && (b = [blackAndWhite, total]);
		if (
			-1 != a.indexOf("77769") ||
			-1 != a.indexOf("P55250") ||
			-1 != a.indexOf("P57750") ||
			-1 != a.indexOf("8730") ||
			-1 != a.indexOf("P75050") ||
			-1 != a.indexOf("77740") ||
			-1 != a.indexOf("477dn") ||
			-1 != a.indexOf("477dw") ||
			-1 != a.indexOf("577") ||
			-1 != a.indexOf("P77750") ||
			-1 != a.indexOf("P77760")
		)
			b = [
				singleColor,
				strongColor,
				nomalgeneralOffice,
				another,
				totalColor,
				totalPage
			];
		if (
			-1 != a.indexOf("65050") ||
			-1 != a.indexOf("551dn") ||
			-1 != a.indexOf("M552") ||
			-1 != a.indexOf("E55040") ||
			-1 != a.indexOf("E75245")||
			-1 != a.indexOf("M553") ||
			-1 != a.indexOf("M750") ||
			-1 != a.indexOf("855") ||
			-1 != a.indexOf("87640") ||
			-1 != a.indexOf("77830") ||
			-1 != a.indexOf("87650") ||
			-1 != a.indexOf("M880") ||
			-1 != a.indexOf("M680") ||
			-1 != a.indexOf("575") ||
			-1 != a.indexOf("775dn") ||
			-1 != a.indexOf("77825") ||
			-1 != a.indexOf("4540") ||
			-1 != a.indexOf("775f") ||
			-1 != a.indexOf("775z") ||
			-1 != a.indexOf("M552") ||
			-1 != a.indexOf("E55040") ||
			-1 != a.indexOf("E75245")||
			-1 != a.indexOf("M577") ||
			-1 != a.indexOf("E77822") ||
			-1 != a.indexOf("E57540")||
			-1 != a.indexOf("E87740")||
			-1 != a.indexOf("E78323")||
			-1 != a.indexOf("3015")||
			-1 != a.indexOf("E78330")
		)
			b = [blackAndWhite, colorful, total];
		if (
			-1 != a.indexOf("276") ||
			-1 != a.indexOf("476") ||
			-1 != a.indexOf("551dn") ||
			-1 != a.indexOf("X576") ||
			-1 != a.indexOf("87660") ||
			-1 != a.indexOf("M551") ||
			-1 != a.indexOf("M552") ||
			-1 != a.indexOf("E55040") ||
			-1 != a.indexOf("E75245")||
			-1 != a.indexOf("M553") ||
			-1 != a.indexOf("X551") ||
			-1 != a.indexOf("M575")
		)
			b = [blackAndWhite, colorful, totalPage]; -
		1 != a.indexOf("3015") && (b = [blackAndWhite, total]);
		if (
			-1 != a.indexOf("401") ||
			-1 != a.indexOf("403") ||
			-1 != a.indexOf("5200") ||
			-1 != a.indexOf("4015") ||
			-1 != a.indexOf("427") ||
			-1 != a.indexOf("706")
		)
			(b = [pvtitle4]), (h = !0);
		if (
			-1 != a.indexOf("5225") ||
			-1 != a.indexOf("452") ||
			-1 != a.indexOf("452dn") ||
			-1 != a.indexOf("452dw") ||
			-1 != a.indexOf("452nw") ||
			-1 != a.indexOf("570") ||
			-1 != a.indexOf("477fdw") ||
			-1 != a.indexOf("477fnw")
		)
			(b = [pvtitleSingle, pvtitleColorful, pvtotalPage2]), (h = !0);
		if (
			-1 != a.indexOf("600") ||
			-1 != a.indexOf("605") ||
			-1 != a.indexOf("602") ||
			-1 != a.indexOf("60055") ||
			-1 != a.indexOf("806") ||
			-1 != a.indexOf("M506") ||
			-1 != a.indexOf("E40040dn")||
			-1 != a.indexOf("603") ||
			-1 != a.indexOf("60065") ||
			-1 != a.indexOf("606") ||
			-1 != a.indexOf("3010") ||
			-1 != a.indexOf("401") ||
			-1 != a.indexOf("400") ||
			-1 != a.indexOf("604") ||
			-1 != a.indexOf("5200") ||
			-1 != a.indexOf("4015") ||
			-1 != a.indexOf("608") ||
			-1 != a.indexOf("609") ||
			-1 != a.indexOf("427") ||
			-1 != a.indexOf("706") ||
			-1 != a.indexOf("403") ||
			-1 != a.indexOf("601") ||
			-1 != a.indexOf("50045") ||
			-1 != a.indexOf("M712") ||
			-1 != a.indexOf("M429") ||
			-1 != a.indexOf("E50145") ||
			-1 != a.indexOf("E60155dn")
		)
			typeModel = 1;
		if (
			-1 != a.indexOf("M525") ||
			-1 != a.indexOf("436") ||
			-1 != a.indexOf("527") ||
			-1 != a.indexOf("8240") ||
			-1 != a.indexOf("500") ||
			-1 != a.indexOf("M725") ||
			-1 != a.indexOf("62565") ||
			-1 != a.indexOf("82550") ||
			-1 != a.indexOf("630") ||
			-1 != a.indexOf("M830") ||
			-1 != a.indexOf("4555") ||
			-1 != a.indexOf("52545") ||
			-1 != a.indexOf("72530") ||
			-1 != a.indexOf("72535") ||
			-1 != a.indexOf("E72525") ||
			-1 != a.indexOf("82560") ||
			-1 != a.indexOf("E72530") ||
			-1 != a.indexOf("E72535") ||
			-1 != a.indexOf("M82560") ||
			-1 != a.indexOf("M527") ||
			-1 != a.indexOf("E62555") ||
			-1 != a.indexOf("E65060") ||
			-1 != a.indexOf("E67550") ||
			-1 != a.indexOf("E67560") ||
			-1 != a.indexOf("M630")||
			-1 != a.indexOf("M528")||
			-1 != a.indexOf("E42540f")||
			-1 != a.indexOf("E62665") 
		)
			typeModel = 4;
		if (
			-1 != a.indexOf("77769") ||
			-1 != a.indexOf("P57750") ||
			-1 != a.indexOf("8730") ||
			-1 != a.indexOf("77740") ||
			-1 != a.indexOf("477dn") ||
			-1 != a.indexOf("477dw") ||
			-1 != a.indexOf("577") ||
			-1 != a.indexOf("58650") ||
			-1 != a.indexOf("77940") ||
			-1 != a.indexOf("E77440") ||
			-1 != a.indexOf("E77950") ||
			-1 != a.indexOf("E77940") ||
			-1 != a.indexOf("X585") ||
			-1 != a.indexOf("586dn") ||
			-1 != a.indexOf("586f") ||
			-1 != a.indexOf("586z") ||
			-1 != a.indexOf("P77750") ||
			-1 != a.indexOf("P77760") ||
			-1 != a.indexOf("77660") ||
			-1 != a.indexOf("E62655")
		)
			typeModel = 6;
		if (
			-1 != a.indexOf("556") ||
			-1 != a.indexOf("P55250") ||
			-1 != a.indexOf("P75050")
		)
			typeModel = 3;
		if (
			-1 != a.indexOf("65050") ||
			-1 != a.indexOf("M750") ||
			-1 != a.indexOf("855") ||
			-1 != a.indexOf("575") ||
			-1 != a.indexOf("M551") ||
			-1 != a.indexOf("276") ||
			-1 != a.indexOf("476") ||
			-1 != a.indexOf("452") ||
			-1 != a.indexOf("551dn") ||
			-1 != a.indexOf("X576") ||
			-1 != a.indexOf("452dw") ||
			-1 != a.indexOf("452dn") ||
			-1 != a.indexOf("452nw") ||
			-1 != a.indexOf("551") ||
			-1 != a.indexOf("477fdw") ||
			-1 != a.indexOf("477fnw") ||
			-1 != a.indexOf("5225") ||
			-1 != a.indexOf("X551") ||
			-1 != a.indexOf("M552") ||
			-1 != a.indexOf("E55040") ||
			-1 != a.indexOf("E75245")||
			-1 != a.indexOf("M553")
		)
			typeModel = 2;
		if (
			-1 != a.indexOf("77830") ||
			-1 != a.indexOf("87650") ||
			-1 != a.indexOf("4540") ||
			-1 != a.indexOf("9352") ||
			-1 != a.indexOf("87640") ||
			-1 != a.indexOf("87660") ||
			-1 != a.indexOf("570") ||
			-1 != a.indexOf("M880") ||
			-1 != a.indexOf("775dn") ||
			-1 != a.indexOf("775f") ||
			-1 != a.indexOf("775z") ||
			-1 != a.indexOf("77825") ||
			-1 != a.indexOf("M575") ||
			-1 != a.indexOf("M577") ||
			-1 != a.indexOf("M680") ||
			-1 != a.indexOf("E77822") ||
			-1 != a.indexOf("E57540")||
			-1 != a.indexOf("E87740")||
			-1 != a.indexOf("E78323")||
			-1 != a.indexOf("3015")||
			-1 != a.indexOf("E78330")
		)
			typeModel = 5;
		if (
			-1 != a.indexOf("P57750") ||
			-1 != a.indexOf("P55250") ||
			-1 != a.indexOf("P77740") ||
			-1 != a.indexOf("P77750") ||
			-1 != a.indexOf("P77760")
		)
			m = 2;
		pvblackAndWhite = b[0];
		if (c) {
			c = c.split("-");
			cc = cc.split("-");
			var f = 0,
				u = "",
				v = "",
				w = "",
				x = "",
				l = "",
				k = "",
				p = "",
				q = "",
				r = "";
			for (a = 0; a < d.length; a++) {
				if (2 == m && "状态页" == c[0]) {  // 老型号
					for (e = 0; e < d.length; e++)
						if (
							-1 !=
							d[e].words.trim().indexOf("首次安装日期")
						) {
							debugger;
							if ("黄色碳粉盒" == c[1])
								return d[e + 1].words.trim().replace("/", "").replace("/", "");
							if ("品红色碳粉盒" == c[1])
								return d[e + 2].words.trim().replace("/", "").replace("/", "");
							if ("青色碳粉盒" == c[1])
								return d[e + 3].words.trim().replace("/", "").replace("/", "");
							if ("黑色碳粉盒" == c[1])
								return d[e + 4].words.trim().replace("/", "").replace("/", "");
						}
					return 0;
				}
				var g = d[a].words.trim().replace(" ", "");
				//console.log(g,"---->",sdmHPJetdirect);
				if ("配置页" == c[0]) {
					if (-1 != g.indexOf(c[1].trim())) {
						e = g.split(":");
						if (e.length == 1) e = g.split("：");
						2 == e.length ?
							((e = e[1].trim()),
								"" == e &&
								a + 1 < d.length &&
								(e = d[a + 1].words.trim().replace(" ", ""))) :
							(e =
								a + 1 < d.length ?
								d[a + 1].words.trim().replace(" ", "") :
								"");
						if((g.indexOf(sdmHPJetdirect)!=-1||g.indexOf("irect页")!=-1) && e.indexOf('.')==-1){
							e = d[a + 2].words.trim().replace(" ", "");
							if(e.indexOf(".") == -1){
								e = d[a + 3].words.trim().replace(" ", "");
								if(e.indexOf(".") == -1){
									e = d[a + 4].words.trim().replace(" ", "");
								}
							}
							e = e.replace(':','').replace('：','').replace(',','.').replace('，','.');
						}
						e = e.replace("http://","").replace("https://","").replace("http","").replace("https","");
						break;
					}
					if(!e && g.indexOf("irect页")!=-1){
						try {
							e = g.match(/(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)/g)[0];
						} catch (error) {
							console.log("error:"+JSON.stringify(error));
						}
					}
					//debugger;
				} else if ("状态页" == c[0]){
					// g.indexOf(yellowMH)>=0 && (f = 1),
					// g.indexOf(redMH) && (f = 2),
					// g.indexOf(cyanMH) && (f = 3),
					// g.indexOf(blackMH) && (f = 4),
					// 1 == f && c[1].trim() == yellowMHLabel ?
					// (u = u + "#" + g) :
					// 2 == f && c[1].trim() == redMHLabel ?
					// (v = v + "#" + g) :
					// 3 == f && c[1].trim() == cyanMHLabel ?
					// (w = w + "#" + g) :
					// 4 == f && c[1].trim() == blackMHLabel && (x = x + "#" + g);

// trim().indexOf("首次安装日期")
					if (c[1].indexOf(yellowMH)>=0 && d[a].words.indexOf(yellowMH)>=0) {
                        for (var xx = 0; xx< d.length; xx++) {
							if(d[xx].words.trim().indexOf(yellowMH)>=0){
								for(var yy=xx+1;yy<xx+20;yy++){
									if(d[yy].words.trim().indexOf("次安装日期")>=0){
										return d[yy+1].words;
									}
								}
							}
						}
                    }
                    if (c[1].indexOf(redMH)>=0 && d[a].words.indexOf(redMH) >= 0 ) {
                        for (var xx = 0; xx< d.length; xx++) {
							if(d[xx].words.trim().indexOf(redMH)>=0){
								for(var yy=xx+1;yy<xx+20;yy++){
									if(d[yy].words.trim().indexOf("次安装日期")>=0){
										return d[yy+1].words;
									}
								}
							}
						}
                    }
                    if (c[1].indexOf(cyanMH)>=0 && d[a].words.indexOf(cyanMH) >= 0) {
                        for (var xx = 0; xx< d.length; xx++) {
							if(d[xx].words.trim().indexOf(cyanMH)>=0){
								for(var yy=xx+1;yy<xx+20;yy++){
									if(d[yy].words.trim().indexOf("次安装日期")>=0){
										return d[yy+1].words;
									}
								}
							}
						}
                    }
                    if (c[1].indexOf(blackMH)>=0 && d[a].words.indexOf(blackMH) >= 0) {
						for (var xx = 0; xx< d.length; xx++) {
							if(d[xx].words.trim().indexOf(blackMH)>=0){
								for(var yy=xx+1;yy<xx+20;yy++){
									if(d[yy].words.trim().indexOf("次安装日期")>=0){
										return d[yy+1].words;
									}
								}
							}
						}
                    }


				}else if ("用量页" == c[0]) {
					if (h)
						for (var n = 0; n < b.length; n++) {
							var t = getRealLabel(b[n]);
							t == intensify && (t = colorful);
							if (a < d.length && -1 != d[a].words.indexOf(b[n]) && c[1] == t) {
								if (a + 1 < d.length)
									return (
										(e = d[a + 1].words),
										-1 != e.indexOf("=") && (e = e.substring(1)),
										e + ";0.0;0.0"
									);
							} else if (
								a + 1 < d.length &&
								-1 != d[a + 1].words.indexOf(b[n]) &&
								c[1] == t &&
								a + 2 < d.length
							)
								return (
									(e = d[a + 2].words),
									-1 != e.indexOf("=") && (e = e.substring(1)),
									e + ";0.0;0.0"
								);
						}
					3 == b.length && 5 == typeModel && (g = valueAIFilter(g));
					console.log(getRealLabel(g));
					currentDataArr.push(getRealLabel(g));

					!(a + 1 < d.length) ||
					(-1 == g.indexOf(pvtitle) &&
						-1 == g.indexOf(pvtitle2) &&
						-1 == g.indexOf(pvtitle3)) ||
					(-1 == d[a + 1].words.indexOf(pvblackAndWhite) &&
						-1 == pvblackAndWhite.indexOf(d[a + 1].words)) ?
					!(a + 2 < d.length) ||
					(-1 == g.indexOf(pvtitle) &&
						-1 == g.indexOf(pvtitle2) &&
						-1 == g.indexOf(pvtitle3)) ||
					(-1 == d[a + 2].words.indexOf(pvblackAndWhite) &&
						-1 == pvblackAndWhite.indexOf(d[a + 2].words)) ||
					(a++, (f = 5)) :
					(f = 5);
					n = "";
					a + 1 < d.length && (n = d[a + 1].words);
					5 == f ?
						(-1 != n.indexOf(printtitle) && (f = 6), (l += g)) :
						6 == f ?
						(-1 != n.indexOf(copytitle) && (f = 7), (k += g)) :
						7 == f ?
						(-1 != n.indexOf(faxtitle) && (f = 8), (p += g)) :
						8 == f ?
						(-1 != n.indexOf(totaltitle) && (f = 9), (q += g)) :
						9 == f && (r += g);
				}
			}
			if ("用量页" == c[0]) {
				l = l.replace("黑百", "黑白");
				"彩色" == l.substring(0, 2) && l.replace("彩色", "");
				k = k.replace(printtitle, "").replace(/\*/g, "0.0");
				p = p.replace(copytitle, "").replace(/\*/g, "0.0");
				q = q.replace(faxtitle, "").replace(/\*/g, "0.0");
				if(q.indexOf("总和") > 0){
					q = q.substring(0,q.indexOf("总和"));
				}
				r = r.replace(totaltitle, "").replace(/\*/g, "0.0");
				d = [];
				for (a = 0; 3 > a; a++)
					for (d[a] = [], h = 0; h < b.length; h++) d[a][h] = 0;
				k = frAICheck(k, b);
				p = frAICheck(p, b);
				q = frAICheck(q, b);
				r = frAICheck(r, b);
				k = k.split(".");
				h = p.split(".");
				m = q.split(".");
				l = r.split(".");
				for (a = 0; a < k.length; a++)
					if (((f = ""), 0 == a))
						(f = 2 <= k.length ? k[0] + "." + k[1].substring(0, 1) : k[0]),
						(d[0][0] = f);
					else {
						if (b.length + 1 != k.length) break;
						a + 1 < k.length &&
							((f = f + k[a].substring(1) + "." + k[a + 1].substring(0, 1)),
								(d[0][a] = f));
					}
					if(d[0] && d[0].length == 1){
						d[0][0] = getNumber(k);
					}
				if (null != p && "" != p)
					for (a = 0; a < h.length; a++)
						if (((f = ""), 0 == a))
							(f = h[0] + "." + h[1].substring(0, 1)), (d[1][0] = f);
						else {
							if (b.length + 1 != h.length) break;
							a + 1 < h.length &&
								((f = f + h[a].substring(1) + "." + h[a + 1].substring(0, 1)),
									(d[1][a] = f));
						}
						if(d[1] && d[1].length == 1){
							d[1][0] = getNumber(h);
						}
				if (null != q && "" != q)
					for (a = 0; a < m.length; a++)
						if (((f = ""), 0 == a))
							(f = m[0] + "." + m[1].substring(0, 1)), (d[2][0] = f);
						else {
							if (b.length + 1 != m.length) break;
							a + 1 < m.length &&
								((f = f + m[a].substring(1) + "." + m[a + 1].substring(0, 1)),
									(d[2][a] = f));
						}
						if(d[2] && d[2].length == 1){
							d[2][0] = getNumber(m);
						}
				if (null != r && "" != r)
					for (a = 0; a < l.length; a++)
						if (((f = ""), 0 == a))
							(f = l[0] + "." + l[1].substring(0, 1)), (d[3][0] = f);
						else {
							if (b.length + 1 != l.length) break;
							a + 1 < l.length &&
								((f = f + l[a].substring(1) + "." + l[a + 1].substring(0, 1)),
									(d[3][a] = f));
						}
						if(d[3] && d[3].length == 1){
							d[3][0] = getNumber(l);
						}
				for (a = 0; a < b.length; a++)
					if (((p = getRealLabel(c[1].trim())), getRealLabel(b[a]) == p)) {
						e = d[0][a] + ";" + d[1][a] + ";" + d[2][a];
						e = e.replace(/,/g, "");
						break;
					}
			}
			if ("状态页" == c[0])
				if (c[1].trim() == yellowMHLabel)
					for (b = u.split("#"), a = 0; a < b.length; a++) {
						if (
							((c = b[a].replace(" ", "")), -1 != c.indexOf(firstInstallDate))
						) {
							e = b[a + 1]; -
							1 != e.indexOf(lastUsageDate) &&
								(e = c.replace(firstInstallDate, "").replace(":", ""));
							break;
						}
					}
			else if (c[1].trim() == redMHLabel)
				for (b = v.split("#"), a = 0; a < b.length; a++) {
					if (
						((c = b[a].replace(" ", "")), -1 != c.indexOf(firstInstallDate))
					) {
						e = b[a + 1]; -
						1 != e.indexOf(lastUsageDate) &&
							(e = c.replace(firstInstallDate, "").replace(":", ""));
						break;
					}
				}
			else if (c[1].trim() == cyanMHLabel)
				for (b = w.split("#"), a = 0; a < b.length; a++) {
					if (
						((c = b[a].replace(" ", "")), -1 != c.indexOf(firstInstallDate))
					) {
						e = b[a + 1]; -
						1 != e.indexOf(lastUsageDate) &&
							(e = c.replace(firstInstallDate, "").replace(":", ""));
						break;
					}
				}
			else if (c[1].trim() == blackMHLabel)
				for (b = x.split("#"), a = 0; a < b.length; a++) {
					if (
						((c = b[a].replace(" ", "")), -1 != c.indexOf(firstInstallDate))
					) {
						e = b[a + 1]; -
						1 != e.indexOf(lastUsageDate) &&
							(e = c.replace(firstInstallDate, "").replace(":", ""));
						break;
					}
				}

			if ("状态页" == cc[0] && !e){
				if (cc[1].trim() == yellowMHLabel) {
				}
				else if (cc[1].trim() == redMHLabel) {
				} 
				else if (cc[1].trim() == cyanMHLabel) {
				} else if (cc[1].trim() == blackMHLabel) {
				}
			}

		}
	}

	console.log("ocr result = ", e);
	if(!e || e == '0;0;0'){
		var res = getPatchValue(currentDataArr);

		return res;
	}
	return (e = valueFilter(e));
}


function getPatchValue(currentDataArr){
	var label = currentDataArr[1].split('-')[1];
	console.log("label=",label);
	if(supportPV(currentDataArr[0])){
		console.log("support=true", JSON.stringify(currentDataArr));
		for(var i = 2; i< currentDataArr.length;i++){
			if(label == currentDataArr[i]){
				var data = "";
				try {
					data = currentDataArr[i+1];
					console.log("data=",data);
					data = parseFloat(currentDataArr[i+1]);
					if(isNaN(data)) continue;
					return aiValue(currentDataArr[i+1]);
				} catch (error) {
					continue;
					console.log("error:", JSON.stringify(error));
				}
			}
		}
		for(var i = 2; i< currentDataArr.length;i++){
			if(label == currentDataArr[i]){
				if(typeModel == 2){
					return currentDataArr[i+4];
				}
			}
		}
	}
	return "0";
}

function aiValue(v){
	if(!v) return 0;
	try {
		v = v.replace(/\./g,",").substring(0,v.replace(/\./g,",").lastIndexOf(","))+"."+v.replace(/\./g,",").substring(v.replace(/\./g,",").lastIndexOf(",")+1);
	} catch (error) {
		console.log(error);
	}
	console.log("v=",v);
	try {
		if(v.indexOf('总和')>0){
			v = v.substring(0,v.indexOf('总和'));
		}
		if(v.indexOf('总数')>0){
			v = v.substring(0,v.indexOf('总数'));
		}
	} catch (error) {
		console.log("error:"+JSON.stringify(error));
	}
	return v;
}

function getNumber(v){
	if(!v || v.length == 0) return 0;
	var result = "";
	for(var i = 0; i < v.length; i++){
		result += v[i]+".";
	}
	return aiValue(result.substring(0,result.length-1));
}

function frAICheck(b, a) {
	var c = a.length,
		e = b.split(".");
	if (6 == a.length) pvFlag = [0, 1, 2, 3, 5];
	else if (2 == a.length) pvFlag = [0, 1];
	else return b;
	if (0 < e.length - 1 - c) {
		b = "";
		for (a = 0; a < e.length; a++)
			(b += e[a]), a < e.length - 1 && (b += "FR" + a);
		a = [];
		for (c = 0; c < e.length; c++) {
			var d = b.indexOf("FR" + c);
			d = b.substring(0, d) + b.substring(d + 3);
			for (var h = 0; h < e.length; h++) d = d.replace("FR" + h, ".");
			d = d.replace(/,/g, "");
			a = getResultArr(d, a);
			h = 0;
			for (var m = a[pvFlag[pvFlag.length - 1]], f = 0; f < pvFlag.length; f++)
				f < pvFlag.length - 1 && (h += parseFloat(a[pvFlag[f]]));
			if (h == m) return d;
		}
	} else return b;
}

function getResultArr(b, a) {
	b = b.split(".");
	for (var c = 0; c < b.length; c++) {
		var e =
			0 == c ?
			2 <= b.length ?
			b[c] + "." + b[c + 1].substring(0, 1) :
			b[0] :
			c < b.length - 1 ?
			b[c].substring(1) + "." + b[c + 1].substring(0, 1) :
			b[c].substring(1) + "." + b[c + 1];
		a[c] = e;
	}
	return a;
}

function getRealLabel(b) {
	return b == singleColor || b == pvtitleSingle ?
		blackAndWhite :
		b == strongColor || b == pvtitleColorful ?
		intensify :
		b == nomalgeneralOffice ?
		generalOffice :
		b == another ?
		other :
		b == totalColor ?
		colorTotal :
		b == totalPage ||
		b == totalCount ||
		b == pvtotalPage ||
		b == pvtitle4 ||
		b == pvtotalPage2 ||
		b == pvtotalPage ?
		total :
		b;
}

function supportSDM(b) {
	for (var a = 0; a < supportModels.length; a++)
		if (-1 != b.indexOf(supportModels[a])) return !0;
	return !1;
}

function supportPV(b) {
	for (var a = 0; a < supportPVModels.length; a++)
		if (-1 != b.indexOf(supportPVModels[a])) return !0;
	return !1;
}

function valueFilter(b) {
	try {
		var barr = b.split(";");
		var nb = "";
		for(var i = 0; i < barr.length; i++){
			if(barr[i]=='00'){
				barr[i]="0";
			}
			nb += barr[i]+";";
		}
		b = nb.substring(0,nb.length-1);	
	} catch (error) {
		console.log("error:"+error);
	}
	return b
		.replace(/\//gi, "")
		.replace("复印", "")
		.replace("传真", "");
}

function valueAIFilter(b) {
	var a = "",
		c = b.split(".");
	if (1 == c.length) return b;
	for (b = 0; b < c.length; b++)
		a = b < c.length - 1 ? a + c[b] : a + ("." + c[b]);
	return a;
}

function updateLabel(b) {
	b = JSON.stringify(b); -
	1 != b.indexOf(keyWord) ||
		-1 != b.indexOf(keyWord2) ||
		-1 != b.indexOf(keyWord3) ?
		((pvtitle = "等效印数"),
			(pvtitle2 = "等效印刷"),
			(blackAndWhite = "黑白"),
			(colorful = "彩色"),
			(intensify = "强化"),
			(generalOffice = "一般办公"),
			(other = "其它"),
			(colorTotal = "色彩总数"),
			(total = "总数"),
			(printtitle = "打印"),
			(copytitle = "复印"),
			(faxtitle = "传真"),
			(pvtitle4 = "总等效印数"),
			(pvtitleSingle = "单色印数"),
			(pvtitleColorful = "彩色印数"),
			(pvtotalPage = "总页数"),
			(totalCount = "总和"),
			(lastUsageDate = "上次使用日期"),
			(firstInstallDate = "首次安装日期"),
			(yellowMH = "黄色"),
			(redMH = "红色"),
			(cyanMH = "青色"),
			(blackMH = "黑色")) :
		((pvtitle = "Equivalent"),
			(pvtitle2 = ""),
			(blackAndWhite = "MONOCHROME"),
			(colorful = "COLOR"),
			(intensify = "强化"),
			(generalOffice = "一般办公"),
			(other = "其它"),
			(colorTotal = "色彩总数"),
			(total = "Total"),
			(printtitle = "Print"),
			(copytitle = "复印"),
			(faxtitle = "传真"),
			(pvtitle4 = "TotalPrinterUsage"),
			(pvtotalPage = "总页数"),
			(lastUsageDate = "LastUseDate"),
			(firstInstallDate = "FirstInstallDate"),
			(yellowMH = "YellowCartridge"),
			(redMH = "CyanCartridge"),
			(cyanMH = "MagentaCartridge"),
			(blackMH = "BlackCartridge"));
}

function getOCRTypeModel(b) {
	var a = 0;
	if (
		-1 != b.indexOf("600") ||
		-1 != b.indexOf("605") ||
		-1 != b.indexOf("602") ||
		-1 != b.indexOf("60055") ||
		-1 != b.indexOf("806") ||
		-1 != b.indexOf("M506") ||
		-1 != b.indexOf("E40040dn")||
		-1 != b.indexOf("603") ||
		-1 != b.indexOf("60065") ||
		-1 != b.indexOf("606") ||
		-1 != b.indexOf("3010") ||
		-1 != b.indexOf("401") ||
		-1 != b.indexOf("400") ||
		-1 != b.indexOf("604") ||
		-1 != b.indexOf("5200") ||
		-1 != b.indexOf("4015") ||
		-1 != b.indexOf("608") ||
		-1 != b.indexOf("609") ||
		-1 != b.indexOf("427") ||
		-1 != b.indexOf("706") ||
		-1 != b.indexOf("403") ||
		-1 != b.indexOf("601") ||
		-1 != b.indexOf("50045") ||
		-1 != b.indexOf("M712") ||
		-1 != b.indexOf("M429") ||
		-1 != b.indexOf("E50145") ||
		-1 != b.indexOf("E60155dn")
	)
		a = 1;
	if (
		-1 != b.indexOf("M525") ||
		-1 != b.indexOf("436") ||
		-1 != b.indexOf("527") ||
		-1 != b.indexOf("8240") ||
		-1 != b.indexOf("500") ||
		-1 != b.indexOf("M725") ||
		-1 != b.indexOf("62565") ||
		-1 != b.indexOf("82550") ||
		-1 != b.indexOf("630") ||
		-1 != b.indexOf("M830") ||
		-1 != b.indexOf("4555") ||
		-1 != b.indexOf("52545") ||
		-1 != b.indexOf("72530") ||
		-1 != b.indexOf("72535") ||
		-1 != b.indexOf("E72525") ||
		-1 != b.indexOf("82560") ||
		-1 != b.indexOf("E72530") ||
		-1 != b.indexOf("E72535") ||
		-1 != b.indexOf("M82560") ||
		-1 != b.indexOf("M527") ||
		-1 != b.indexOf("E62555") ||
		-1 != b.indexOf("E65060") ||
		-1 != b.indexOf("E67550") ||
		-1 != b.indexOf("E67560") ||
		-1 != b.indexOf("M630")||
		-1 != b.indexOf("M528")||
		-1 != b.indexOf("E42540f")||
		-1 != b.indexOf("E62665")
	)
		a = 4;
	if (
		-1 != b.indexOf("77769") ||
		-1 != b.indexOf("P57750") ||
		-1 != b.indexOf("8730") ||
		-1 != b.indexOf("77740") ||
		-1 != b.indexOf("477dn") ||
		-1 != b.indexOf("477dw") ||
		-1 != b.indexOf("577") ||
		-1 != b.indexOf("58650") ||
		-1 != b.indexOf("77940") ||
		-1 != b.indexOf("E77440") ||
		-1 != b.indexOf("E77950") ||
		-1 != b.indexOf("E77940") ||
		-1 != b.indexOf("X585") ||
		-1 != b.indexOf("586dn") ||
		-1 != b.indexOf("586f") ||
		-1 != b.indexOf("586z") ||
		-1 != b.indexOf("P77750") ||
		-1 != b.indexOf("P77760") ||
		-1 != b.indexOf("77660")
	)
		a = 6;
	if (
		-1 != b.indexOf("556") ||
		-1 != b.indexOf("P55250") ||
		-1 != b.indexOf("P75050")
	)
		a = 3;
	if (
		-1 != b.indexOf("65050") ||
		-1 != b.indexOf("M750") ||
		-1 != b.indexOf("855") ||
		-1 != b.indexOf("575") ||
		-1 != b.indexOf("M551") ||
		-1 != b.indexOf("276") ||
		-1 != b.indexOf("476") ||
		-1 != b.indexOf("452") ||
		-1 != b.indexOf("551dn") ||
		-1 != b.indexOf("X576") ||
		-1 != b.indexOf("452dw") ||
		-1 != b.indexOf("452dn") ||
		-1 != b.indexOf("452nw") ||
		-1 != b.indexOf("551") ||
		-1 != b.indexOf("477fdw") ||
		-1 != b.indexOf("477fnw") ||
		-1 != b.indexOf("5225") ||
		-1 != b.indexOf("X551") ||
		-1 != b.indexOf("M552") ||
		-1 != b.indexOf("E55040") ||
		-1 != b.indexOf("E75245")||
		-1 != b.indexOf("M553")
	)
		a = 2;
	if (
		-1 != b.indexOf("77830") ||
		-1 != b.indexOf("87650") ||
		-1 != b.indexOf("4540") ||
		-1 != b.indexOf("9352") ||
		-1 != b.indexOf("87640") ||
		-1 != b.indexOf("87660") ||
		-1 != b.indexOf("570") ||
		-1 != b.indexOf("M880") ||
		-1 != b.indexOf("775dn") ||
		-1 != b.indexOf("775f") ||
		-1 != b.indexOf("775z") ||
		-1 != b.indexOf("77825") ||
		-1 != b.indexOf("M575") ||
		-1 != b.indexOf("M577") ||
		-1 != b.indexOf("M680") ||
		-1 != b.indexOf("E77822") ||
		-1 != b.indexOf("E57540")||
		-1 != b.indexOf("E87740")||
		-1 != b.indexOf("E78323")||
		-1 != b.indexOf("3015")||
		-1 != b.indexOf("E78330")
	)
		a = 5;
	return a;
}
